package org.samith.web.helper;

public final class AuthenticatedUserSession {
	private boolean isAuthenticated = false;
	private boolean isAdminUser = false;
	private Long userId = 0L;
	private String firstName = "";
	private String lastName = "";
	private int userLevel = 0;
	
	public AuthenticatedUserSession(boolean isAdminUser){
		this.isAdminUser = isAdminUser;
	}
	public void setAuthenticated(boolean isAuthenticated) {
		this.isAuthenticated = isAuthenticated;
	}
	public boolean isAuthenticated() {
		return isAuthenticated;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getUserId() {
		return userId;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setUserLevel(int userLevel) {
		this.userLevel = userLevel;
	}
	public int getUserLevel() {
		return userLevel;
	}
	public boolean isAdminUser() {
		return isAdminUser;
	} 
	
}
